﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace SpaceKinect
{
    class PowerUp : GameObject
    {
        Model model;

        float radius;
        PowerUpType type;
        ContentManager content;
        
        public PowerUp(Vector3 p, float r, PowerUpType t, Model m, Quaternion rot)
        {
            type = t;
            model = m;
            position = p;
            radius = r;
            bound = new BoundingSphere(position, radius);
            rotation = new Quaternion(position, MathHelper.PiOver2);
        }

        public Model Model
        {
            get { return model; }
            set { model = value; }
        }

        public PowerUpType Type
        {
            get { return type; }
            set { type = value; }
        }

        public float Radius
        {
            get { return radius; }
            set { radius = value; }
        }

        public Quaternion Rotation
        {
            get { return rotation; }
            set { rotation = value; }
        }

        public Vector3 Position
        {
            get { return position; }
            set { position = value; }
        }

    }
}
